package rules.feedback;

import java.util.Set;

import rules.Rule;
import rules.RulesValidator;
import feedback.PersonFeedback;

/**
 */
public class PersonFeedbackValidator extends RulesValidator<PersonFeedback> {

    @Override
    protected void addRules(final Set<Rule<PersonFeedback>> rules) {
        rules.add(new PersonFeedbackNotNullFieldsRule());
        rules.add(new CommentLenghtRule());

    }

}
